function S = quadraticObjective(A, X)

% S = X'*A*X

S = X'*A*X;